package win.ganbo.ssm.vo;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 *
 * @Author ganbo E-mail:bo.gan@56qq.com
 * @CreateTime 2017-08-04 10:00
 */

public class WaybillVO {

    private String waybillNo;       //运单号(后端接口生成)
    private String waybillType;     //运单类型
    private String paymentMode;     //付款方式
    private Integer paymentAmount;  //总运费
    private String companyId;       //企业公司Id
    private String createUserId;    //创建人Id

    private String shipperId;       //托运人Id
    private String shipperName;     //托运人姓名
    private String shipperPhone;    //托运人电话

    private String carrierId;               //承运人Id
    private String carrierName;             //承运人名字
    private String carrierPhone;            //承运人联系电话
    private String carrierTruckId;          //承运人车辆Id
    private String carrierPlateNumber;      //承运人车牌


    private Date expectLoadingTime;    //期望装货时间
    private String truckLength;        //车长需求
    private String truckType;          //车型需求
    private String note;               //货物备注


    private List<PaymentVO> payments = new ArrayList();         //本次运单运费结算支付项
    private List<CargoVO> cargos = new ArrayList<CargoVO>();    //本次运单要托运的所有货物详情列表
    private List<WaybillAddressVO> addresses = new ArrayList<WaybillAddressVO>();   //发货和收货地址

    public String getWaybillNo() {
        return waybillNo;
    }

    public void setWaybillNo(String waybillNo) {
        this.waybillNo = waybillNo;
    }

    public String getWaybillType() {
        return waybillType;
    }

    public void setWaybillType(String waybillType) {
        this.waybillType = waybillType;
    }

    public String getPaymentMode() {
        return paymentMode;
    }

    public void setPaymentMode(String paymentMode) {
        this.paymentMode = paymentMode;
    }

    public Integer getPaymentAmount() {
        return paymentAmount;
    }

    public void setPaymentAmount(Integer paymentAmount) {
        this.paymentAmount = paymentAmount;
    }

    public String getCompanyId() {
        return companyId;
    }

    public void setCompanyId(String companyId) {
        this.companyId = companyId;
    }

    public String getCreateUserId() {
        return createUserId;
    }

    public void setCreateUserId(String createUserId) {
        this.createUserId = createUserId;
    }

    public String getShipperId() {
        return shipperId;
    }

    public void setShipperId(String shipperId) {
        this.shipperId = shipperId;
    }

    public String getShipperName() {
        return shipperName;
    }

    public void setShipperName(String shipperName) {
        this.shipperName = shipperName;
    }

    public String getShipperPhone() {
        return shipperPhone;
    }

    public void setShipperPhone(String shipperPhone) {
        this.shipperPhone = shipperPhone;
    }

    public String getCarrierId() {
        return carrierId;
    }

    public void setCarrierId(String carrierId) {
        this.carrierId = carrierId;
    }

    public String getCarrierName() {
        return carrierName;
    }

    public void setCarrierName(String carrierName) {
        this.carrierName = carrierName;
    }

    public String getCarrierPhone() {
        return carrierPhone;
    }

    public void setCarrierPhone(String carrierPhone) {
        this.carrierPhone = carrierPhone;
    }

    public String getCarrierTruckId() {
        return carrierTruckId;
    }

    public void setCarrierTruckId(String carrierTruckId) {
        this.carrierTruckId = carrierTruckId;
    }

    public String getCarrierPlateNumber() {
        return carrierPlateNumber;
    }

    public void setCarrierPlateNumber(String carrierPlateNumber) {
        this.carrierPlateNumber = carrierPlateNumber;
    }

    public Date getExpectLoadingTime() {
        return expectLoadingTime;
    }

    public void setExpectLoadingTime(Date expectLoadingTime) {
        this.expectLoadingTime = expectLoadingTime;
    }

    public String getTruckLength() {
        return truckLength;
    }

    public void setTruckLength(String truckLength) {
        this.truckLength = truckLength;
    }

    public String getTruckType() {
        return truckType;
    }

    public void setTruckType(String truckType) {
        this.truckType = truckType;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }

    public List<PaymentVO> getPayments() {
        return payments;
    }

    public void setPayments(List<PaymentVO> payments) {
        this.payments = payments;
    }

    public List<CargoVO> getCargos() {
        return cargos;
    }

    public void setCargos(List<CargoVO> cargos) {
        this.cargos = cargos;
    }

    public List<WaybillAddressVO> getAddresses() {
        return addresses;
    }

    public void setAddresses(List<WaybillAddressVO> addresses) {
        this.addresses = addresses;
    }
}
